package com.ftar.urgent.api;

public class KnowledgeResp<T> {
    private Integer code;
    private T data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    public boolean isSuccessful(){
        return this.code == 0;
    }
}
